package com.library.controller;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.github.xiaoymin.swaggerbootstrapui.util.CommonUtils;
import com.library.common.base.ApiResult;
import com.library.common.utils.CommonUtil;
import com.library.entity.UserInfo;
import com.library.entity.WechatLogin;
import com.library.entity.vo.WechatLoginDto;
import com.library.util.Common1Util;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 微信扫码登录表 前端控制器
 * </p>
 *
 * @author ccl
 * @since 2024-10-28
 */
@RestController
@RequestMapping("/wechat_login")
public class WechatLoginController {
    /**
     * 根据时间戳获取用户信息
     */
    @ApiOperation("根据时间戳获取用户信息")
    @GetMapping(value = "/getTimeStampUserInfo")
    public ApiResult<String> getTimeStampUserInfo()  {
        long id1 = Common1Util.getId1();
        long id2 = Common1Util.getId();
        return ApiResult.ok(id1+"---------"+id2);
    }
}

